package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * k院区对象 hospital_area
 * 
 * @author ruoyi
 * @date 2025-05-12
 */
public class HospitalArea extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 院区ID */
    private Integer id;

    /** 所属医院ID */
    @Excel(name = "所属医院ID")
    private Integer hospitalId;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phone;

    /** 公交 */
    @Excel(name = "公交")
    private String car;

    /** 院区名称 */
    @Excel(name = "院区名称")
    private String name;

    /** 院区地址 */
    @Excel(name = "院区地址")
    private String address;

    /** 状态：0停用，1启用 */
    @Excel(name = "状态：0停用，1启用")
    private Integer status;
    private String hospitalName;

    @Override
    public String toString() {
        return "HospitalArea{" +
                "id=" + id +
                ", hospitalId=" + hospitalId +
                ", phone='" + phone + '\'' +
                ", car='" + car + '\'' +
                ", name='" + name + '\'' +
                ", address='" + address + '\'' +
                ", status=" + status +
                ", hospitalName='" + hospitalName + '\'' +
                '}';
    }

    public String getHospitalName() {
        return hospitalName;
    }

    public void setHospitalName(String hospitalName) {
        this.hospitalName = hospitalName;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }

    public void setHospitalId(Integer hospitalId) 
    {
        this.hospitalId = hospitalId;
    }

    public Integer getHospitalId() 
    {
        return hospitalId;
    }

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public void setCar(String car) 
    {
        this.car = car;
    }

    public String getCar() 
    {
        return car;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

}
